package com.store.app.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.store.app.BaseActivity;
import com.store.app.ExitApplication;
import com.store.app.R;
import com.store.app.utils.Utils;

//关于我们。
public class AboutUsActivity extends BaseActivity {
    private TextView tv_version_name;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ExitApplication.getInstance().addActivity(this);
        setContentView(R.layout.activity_about_us);
        initView();
        findViewById(R.id.public_ll_return).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        ((TextView) findViewById(R.id.tvTitle)).setText("关于我们");
    }

    private void initView() {
        tv_version_name = (TextView) findViewById(R.id.tv_version_name);
        tv_version_name.setText("V " + Utils.getVersion());
    }
}
